import request from "@/utils/request";

export function getMessage(){
    return request({
        url:"/api/messages",
        methode:"get",
    })
}

export function read(id){
    return request({
        url:"/api/messages/"+id+"/read",
        method:"post",
    })
}
